import {Directive} from 'vue';
import useAuth from '@/utils/composables/useAuth';

export const authAll: Directive = {
    mounted(el, binding) {
     if (!useAuth().authAll(binding.value)) {
        el.remove()
      }
    },
}
